<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
         /* 
          continue(继续)跳过本次循环。
          break (打破)跳出整个循环
        */
        //    逢七过 (各位和十位不能是7)
        for (let i = 1; i <= 100; i++) {
            if (i % 7 != 0 && i % 10 != 7 && parseInt(i / 10) != 7) {
                console.log(i + "的个位或者十位是 7 ");
                // continue;

                break;
            }
            console.log("此时 i 是" + i);
        }
    </script>
</body>
</html>